package com.thread.runableTest;

/**
 * TheRunable--bdqnPractice
 *
 * @author: Jovi
 * @createTime: 2017-09-05 14:15
 **/
public class TheRunable implements Runnable {
    @Override
    public void run() {
        int i = 0;
        while (i < 50) {
            try {
                Thread.sleep(4000);
            } catch (InterruptedException e) {
                e.printStackTrace();
            }
            System.out.println("world!");
            i++;
        }
    }
}
